@securitySchedule
Feature: Security schedule and timesheet Management
File name: securityScheculeAndTimehseet.feature
Relative path: features/securityScheculeAndTimehseet.feature
@securitySchedule
Scenario: Create security schedule, Create timesheet, verify functionalities and validations
Given
Security management user logged into the application
When
User navigates to security schedule page
When
User selects date, shift and clicks GO button
And
Select staffing from Staffing for Operations list and fill the steady name, radio and vehicle
And
Enter notes, sergeant name and click on save
Then
User should see success message for security schedule
Then
click on view different schedule button
Then
Select 2nd shift and click on go button
And
Select staffing from Staffing for Operations list and fill the steady name, radio and vehicle
And
Enter notes, sergeant name and click on save
Then
click on view different schedule button
Then
Select 3RD shift and click on go button
And
Select staffing from Staffing for Operations list and fill the steady name, radio and vehicle
And
Enter notes, sergeant name and click on save
Then
copy the rolling code from the schedule
locator.fill: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for locator('xpath=//input[@type=\'email\']')
============================================================
at LoginPage.(anonymous) (C:\SOTA-AUTOMATION\src\pages\login.page.ts:80:92)
at step (C:\SOTA-AUTOMATION\src\pages\login.page.ts:33:23)
at Object.next (C:\SOTA-AUTOMATION\src\pages\login.page.ts:14:53)
at C:\SOTA-AUTOMATION\src\pages\login.page.ts:8:71
at __awaiter (C:\SOTA-AUTOMATION\src\pages\login.page.ts:4:12)
at LoginPage.enterUserName (C:\SOTA-AUTOMATION\src\pages\login.page.ts:77:16)
at World.(anonymous) (C:\SOTA-AUTOMATION\src\test\steps\loginUI.steps.ts:192:52)
at step (C:\SOTA-AUTOMATION\src\test\steps\loginUI.steps.ts:33:23)
at Object.next (C:\SOTA-AUTOMATION\src\test\steps\loginUI.steps.ts:14:53)
at C:\SOTA-AUTOMATION\src\test\steps\loginUI.steps.ts:8:71
at __awaiter (C:\SOTA-AUTOMATION\src\test\steps\loginUI.steps.ts:4:12)
at World.(anonymous) (C:\SOTA-AUTOMATION\src\test\steps\loginUI.steps.ts:189:12)
Then
Open the timesheet menu